package com.qf.dao;

import com.qf.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrderMapper {
    @Select("select * from t_order")
    List<Order> findAllOrder();

    @Select("select * from t_order where name like '%${name}%'")
    List<Order> findOrderByName(@Param("name") String name);
}
